#!/bin/sh

for filename in malware/binaries/* malware/binaries/incoming/*
do
	if [ -z "$(printf "%s" "${filename}" | grep "\.")" ]
	then
		if [ ! -f "${filename}/.git" ]
		then
			printf "%s is scannable\n" "${filename}"
			clamscan "${filename}" | grep -v OK
		fi
	fi
done
